package models

type Productattributevalue struct {
	Id int64 `xorm:"oid"`

	Productattributemappingid int    `json:"ProductAttributeMappingId" xorm:"not null INTEGER"`
	Attributevaluetypeid      int    `json:"AttributeValueTypeId" xorm:"not null INTEGER"`
	Associatedproductid       int    `json:"AssociatedProductId" xorm:"not null INTEGER"`
	Name                      string `json:"Name" xorm:"not null VARCHAR(400)"`
	Colorsquaresrgb           string `json:"ColorSquaresRgb" xorm:"VARCHAR(100)"`
	Priceadjustment           string `json:"PriceAdjustment" xorm:"not null NUMERIC"`
	Weightadjustment          string `json:"WeightAdjustment" xorm:"not null NUMERIC"`
	Cost                      string `json:"Cost" xorm:"not null NUMERIC"`
	Quantity                  int    `json:"Quantity" xorm:"not null INTEGER"`
	Ispreselected             int    `json:"IsPreSelected" xorm:"not null BIT(1)"`
	Displayorder              int    `json:"DisplayOrder" xorm:"not null INTEGER"`
	Pictureid                 int    `json:"PictureId" xorm:"not null INTEGER"`
}
